require.config({
    baseUrl: './js',
    paths: {
        'app': '../app',
        'css': '../lib/require/css.min',
        'jquery': '../lib/jquery/jquery.min',
        'angular': '../lib/angular-1.6.4/angular.min',
        'ngRoute': '../lib/angular-1.6.4/angular-route.min',
        'ngCookies': '../lib/angular-1.6.4/angular-cookies.min',
        'underscore': '../lib/underscore/underscore-min',
        'bootstrap' : '../lib/bootstrap/js/bootstrap.min',
    },
    shim: {
        'bootstrap': {
            'deps': ['jquery', 'css!../lib/bootstrap/css/bootstrap.min.css', 'css!../lib/font-awesome-4.7.0/css/font-awesome.min.css']
        },
        'app':{
            exports: 'app',
            deps:['angular','ngRoute','ngCookies','bootstrap','css!../css/style.css']
        },
        'ngRoute':{
            deps:['angular']
        },
        'ngCookies':{
            deps:['angular']
        },
        'angular': {
            exports: 'angular'
        }
    }
});
require(['app','./build/main.js'],function(app){
    app.init();
});